vander
vander(matrixData: any[] | Mat | Tensor, dim : number) : Mat
param matrixData
- an Array
, Mat
or Tensor
.
param dim
- the dimension, which should be >= 0.
returns - Mat
- a Vandermonde matrix
A Vandermonde matrix is defined by a set of scalars, which in this case, come from the matrix given as the first parameter, and you can limit it by dim
.
An example to clarify is as follows: